{include file="index/head" /}
<script src="__PUBLIC__/public/ueditor/ueditor.config.js"></script>
<script src="__PUBLIC__/public/ueditor/ueditor.all.js"></script>
<div class="box" style="overflow: revert;">
  <div class="box-head">
    <h2>{$info.id?'编辑':'添加'}</h2>
    <a href="javascript:history.go(-1);" class="btn fr"><i class="icon-mail-reply (alias)"></i>返回</a></div>
  <div class="form">
    <form method="post" action="{:url('addclassification')}" class="sycmsform">
    <input type="hidden" name="id" value="{$info.id}" />
    <ul>
      <li>
        <label>分类名称：</label>
        <div class="item"><input type="type" name="name" value="{$info.name}" class="input"  datatype="*"  nullmsg="请输入分类名称"/></div>
      </li>
     
      <li><label>&nbsp;</label><div class="item"><button type="submit" class="button"><i class="icon-check"></i>提交</button></div></li>
    </ul>
    </form>
  </div>
</div>
<script> sycms.submitform("{:url('classification')}"); </script>